package com.spr.service.impl;

import com.spr.mapper.SprDeviceCameraInfoMapper;
import com.spr.mapper.SprDeviceInfoMapper;
import com.spr.mapper.SprSiteInfoMapper;
import com.spr.request.SprDeviceCoordinate;
import com.spr.service.SprDeviceCameraInfoService;
import com.spr.vo.SprDeviceCameraInfoVO;
import com.spr.vo.SprSiteInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

@Service
@Slf4j
public class SprDeviceCameraInfoServiceImpl  implements SprDeviceCameraInfoService {
    @Autowired
    private SprDeviceCameraInfoMapper sprDeviceCameraInfoMapper;
    @Autowired
    private SprDeviceInfoMapper sprDeviceInfoMapper;
    @Autowired
    private SprSiteInfoMapper sprSiteInfoMapper;

    @Override
    public List<SprDeviceCameraInfoVO> cameraList(BigDecimal latitude, BigDecimal longitude) {
        List<SprDeviceCameraInfoVO> sprDeviceCameraInfoVOS= sprDeviceCameraInfoMapper.cameraList(latitude, longitude);
        return sprDeviceCameraInfoVOS;
    }


}
